<?php


namespace app\api\v1\graphQLModel\fieldType;


use GraphQL\Type\Definition\ObjectType;

class ipFieldType extends ObjectType
{

    public function __construct()
    {
        $config = [
            'fields' => [
                'city_name' => self::string(),
                'region_name' => self::string(),
                'country_name' => self::string()
            ]
        ];
        parent::__construct($config);
    }

}